package com.java2404.micro.common.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author Zeka
 * @title: User
 * @projectName mall-system
 * @description: TODO
 * @date 2025/01/03  19:28
 */

@ApiModel(value = "用户/消费者")
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName("t_user")
public class User implements Serializable {
    @ApiModelProperty(value = "用户id")
    @TableId
    private Integer uid;
    @ApiModelProperty(value = "用户名")
    private String uname;
    @ApiModelProperty(value = "密码")
    private String upasswd;
    @ApiModelProperty(value = "创建人")
    private String create_by;
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime create_time;
    @ApiModelProperty(value = "更新人")
    private String update_by;
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime update_time;
}
